Skip to contentSkip to conversation

dme1737: Base address not set / How to do the BIOS' job

lm-sensors Stefan Steuerwald 2 participants 6 messages Apr 29, 2009 – Apr 30, 2009

lore
Share & tools
lore
#0 lore raw

Hi lm-sensor,

I have an embedded system with a SCH3114 Super-I/O sitting at 0x2E on the LPC bus.
My BIOS does not support this chip, hence it goes uninitialized on boot. Consequently, when I load the dme1737 kernel module, it says "Base address not set".

For lack of a better BIOS, I think I have to manually poke around the SCH3114's registers to set base address, IRQ numbers, whatever else. Correct?
Maybe anybody can point me to some code that may be doing something similar? I'd like to enable the Super-I/O's USARTs and LPT, above all.

Thank you,
Stefan.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Re: [lm-sensors] dme1737: Base address not set / How to do the

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Quoted 3 lines

For lack of a better BIOS, I think I have to manually poke around the SCH3114's registers to set base address, IRQ numbers, whatever else. Correct?

Yes,

But why the BIOS does not support that? Maybe its not used for monitoring at all. Maybe you have added to system somehow? (on some strange addon card?)

What southbridge you have? Vendor/model?

Thanks,
Rudolf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn4tcgACgkQ3J9wPJqZRNU5BwCfZx/9ImhkLImucc2F1Mppt3iT 38QAoJ3Iedeex9UaaUWgi9FIhuMqSm/j
=TrYY
-----END PGP SIGNATURE-----

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw

Re: [lm-sensors] dme1737: Base address not set / How to do the

In reply to Stefan Steuerwald

Thank you Rudolf,

I have a credit-card sized cpu module with an Intel Atom Z530 and a SMSC3114 Super-IO on a baseboard. The BIOS on the CPU module is a minimal one and apparently has support only for some Winbond Super-IO and little else.

Now that you have confirmed my suspicion...
I browsed through what sensors-detect does and have been able to use some outb/inb sequence to set the base address of the chip and activate it. When I use dme1737 with the force_start=yes module parameter, I am getting voltage and temp readings. Nice!
Let's see if I can get the rest working without crashing the system.

Thanks again,
Stefan.

2009/4/29 Rudolf Marek <[email protected]>

Quoted 20 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Quoted 3 lines

For lack of a better BIOS, I think I have to manually poke around the SCH3114's registers to set base address, IRQ numbers, whatever else. Correct?

Yes,

But why the BIOS does not support that? Maybe its not used for monitoring at
all. Maybe you have added to system somehow? (on some strange addon card?)

What southbridge you have? Vendor/model?

Thanks,
Rudolf

Quoted 9 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn4tcgACgkQ3J9wPJqZRNU5BwCfZx/9ImhkLImucc2F1Mppt3iT 38QAoJ3Iedeex9UaaUWgi9FIhuMqSm/j
=TrYY
-----END PGP SIGNATURE-----

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw

Re: [lm-sensors] dme1737: Base address not set / How to do the

In reply to Stefan Steuerwald

Hi,

If you tell me cat /proc/cpuinfo and what type of SB you have I might tell some IO addresses which are safe to use ;)

I think you can setup there usually something around 0x300 like 0x290. Assuming that the rest of superio lives at 0x2e/0x2f or so...

Btw what BIOS is that?

Rudolf

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw

Re: [lm-sensors] dme1737: Base address not set / How to do the

In reply to Stefan Steuerwald

Have attached cpuinfo and ioports.
I chose 0x0600 as the base address for the SCH3114 SuperIO, seems to work so far. Better suggestions welcome ;-)

Thank you!
Stefan.

2009/4/30 Rudolf Marek <[email protected]>

Quoted 5 lines

Hi,

If you tell me cat /proc/cpuinfo and what type of SB you have I might tell some IO addresses which are safe to use ;)

Quoted 7 lines

I think you can setup there usually something around 0x300 like 0x290. Assuming that the rest of superio lives at 0x2e/0x2f or so...

Btw what BIOS is that?

Rudolf

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors